package sj2;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class DialogueTest2 {
    @Test
    public void testDialogue(){
        ApplicationContext context=new ClassPathXmlApplicationContext("sj2/sj2.xml");
        Dialogue dialogue=(Dialogue) context.getBean("dialogue");
        dialogue.show();
    }
}
